package com.zdw.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zdw.demo.dto.CustomerSelectDto;
import com.zdw.demo.entity.CustomerEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 卓德文
 * @since 2023-04-05
 */
@Mapper
public interface CustomerMapper extends BaseMapper<CustomerEntity> {

    /**
     * 客户信息分页查询
     *
     * @param page
     * @param customerSelectDto
     * @return
     */
    IPage<CustomerEntity> page(IPage<CustomerEntity> page, @Param("dto") CustomerSelectDto customerSelectDto);

}
